@use "./layout.scss";
@use './sidebar.scss';
@use "./common.scss";
@forward './variables.module.scss'; // 修改此处

// Sass 函数 基于375px宽度转换为vw视口宽度，实现不同屏幕下尺寸的等比缩放效果
// 定义百分比单位函数
@function pm($n) {
  //@return calc($n / 75) * 1.5 + rem;
  @return calc(100vw / 375 * $n)
}

body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  font-size: 14px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

//main-container全局样式
.app-container {
  //padding: pm(10);
}
